package com.letian.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 记录金钱对象 record_money
 *
 * @author bmz
 * @date 2023-01-15
 */
public class RecordMoney extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编码
     */
    private Long moneyId;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private String moneyType;

    /**
     * 金钱
     */
    @Excel(name = "金钱")
    private Long money;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 拥有者
     */
    @Excel(name = "拥有者")
    private String owner;

    /**
     * 删除标志
     */
    private String delFlag;

    /**
     * 更新次数
     */
    @Excel(name = "更新次数")
    private Long updateCount;

    public void setMoneyId(Long moneyId) {
        this.moneyId = moneyId;
    }

    public Long getMoneyId() {
        return moneyId;
    }

    public void setMoneyType(String moneyType) {
        this.moneyType = moneyType;
    }

    public String getMoneyType() {
        return moneyType;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public Long getMoney() {
        return money;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getOwner() {
        return owner;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setUpdateCount(Long updateCount) {
        this.updateCount = updateCount;
    }

    public Long getUpdateCount() {
        return updateCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("moneyId", getMoneyId())
                .append("moneyType", getMoneyType())
                .append("money", getMoney())
                .append("unit", getUnit())
                .append("owner", getOwner())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("updateCount", getUpdateCount())
                .append("remark", getRemark())
                .toString();
    }
}
